<%@ page import="com.jewel.tools.Tools" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<header>
    <div class="container_12">
        <div class="grid_3">
            <hgroup>
                <h1 id="site_logo"><a href="index" title=""><img src="img/logo.png" alt="logo"></a></h1>
                <h2 id="site_description">国际珠宝文化博物馆</h2>
            </hgroup>
        </div><!-- .grid_3 -->

        <div class="grid_9">
            <div class="top_header">
                <!-- .welcome -->
                <div class="welcome">
                    <%if (!Tools.objectIsNullOrNot(session.getAttribute("username"))) { %>
                        <span>欢迎！<%out.print(session.getAttribute("username"));%>。</span>
                    <% } else { %>
                        <span>欢迎！你可以 <a href="login">登录</a> 或者 <a href="#">注册</a>。</span>
                    <% } %>
                </div>

                <!-- .search -->
                <form class="search">
                    <input type="submit" class="search_button" value="">
                    <input type="text" name="search" class="search_form" value="" placeholder="店内索搜...">
                </form>
            </div>

            <nav class="primary">
                <ul>
                    <li class="curent"><a href="index">首 页</a></li>
                    <li class="parent">
                        <a href="#">在线商城</a>
                        <ul class="sub">
                            <li><a href="#">新品上市</a></li>
                            <li><a href="#">特价促销</a></li>
                            <li><a href="catalogBlock?blockId=1">吊坠挂件</a></li>
                            <li><a href="catalogBlock?blockId=2">手镯珠链</a></li>
                            <li><a href="catalogBlock?blockId=3">戒指耳环</a></li>
                            <li><a href="catalogBlock?blockId=4">手玩件</a></li>
                            <li><a href="catalogBlock?blockId=5">摆件</a></li>
                            <li><a href="catalogBlock?blockId=6">翡翠专区</a></li>
                            <li><a href="catalogBlock?blockId=7">DIY制作</a></li>
                        </ul>
                    </li>
                    <li class="parent">
                        <a href="#">珠宝资料</a>
                        <ul class="sub">
                            <li><a href="catalogList?listId=1">新闻动态</a></li>
                            <li><a href="catalogList?listId=2">历史研究</a></li>
                            <li><a href="catalogList?listId=3">宝石百科</a></li>
                        </ul>
                    </li>
                    <li class="parent">
                        <a href="#">艺术鉴赏</a>
                        <ul class="sub">
                            <li><a href="catalogBlog?blogId=1">藏品欣赏</a></li>
                            <li><a href="catalogBlog?blogId=2">时尚艺术</a></li>
                            <li><a href="catalogBlog?blogId=3">珠宝标本</a></li>
                        </ul>
                    </li>
                    <li><a href="#">艺术诠释</a></li>
                    <li><a href="#">大器天成</a></li>
                    <li><a href="#">视频荟萃</a></li>
                    <li><a href="compare">珠宝评级</a></li>
                    <li><a href="contact">联系我们</a></li>
                </ul>
            </nav><!-- .primary -->
        </div><!-- .grid_9 -->
    </div>
</header>
